package org.springmole.business.bean.hibernate;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlType;

@XmlType(propOrder={"value", "name"})
@XmlAccessorType(XmlAccessType.FIELD)
public class SummaryItemData {

	@XmlAttribute(name="name")
	private String name;
	
	@XmlAttribute(name="value")
	private String value;
	
	public SummaryItemData() {
	}
	
	public SummaryItemData(String name, long value) {
		this.name = name;
		this.value = Long.toString(value);
	}	
	
	public SummaryItemData(String name, String value) {
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getValue() {
		return value;
	}

	public void setValue(String value) {
		this.value = value;
	}
	
	
	
}
